package com.laicunba.pojo;

import org.springframework.stereotype.Component;

import com.laicunba.annotation.MyColumn;
import com.laicunba.annotation.MyTable;
import com.laicunba.util.StringUtil;

@MyTable
@Component
public class MenuDO extends BaseDO {

	private String parentMenuId;
	private String menuName;
	private String icon;
	private String url;
	@MyColumn(type = "bool DEFAULT false")
	private boolean isSeparator;
	private String target;
	private double sortNum;
	@MyColumn(type = "bool DEFAULT false")
	private boolean isQuickBtn;

	public String getParentMenuId() {
		return parentMenuId;
	}

	public void setParentMenuId(String parentMenuId) {
		this.parentMenuId = parentMenuId;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public boolean isSeparator() {
		return isSeparator;
	}

	public void setSeparator(boolean isSeparator) {
		this.isSeparator = isSeparator;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getTarget() {
		return target;
	}

	public void setSortNum(double sortNum) {
		this.sortNum = sortNum;
	}

	public double getSortNum() {
		return sortNum;
	}

	public void setQuickBtn(boolean isQuickBtn) {
		this.isQuickBtn = isQuickBtn;
	}

	public boolean isQuickBtn() {
		return isQuickBtn;
	}

}
